﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KxParserTestWin
{
	class Logger
	{
		public static ListView ListView{get;set;}

		public static void New(string type, string message, string position)
		{
			ListViewItem item = ListView.Items.Insert(0, DateTime.Now.ToString());
			//item.Text = DateTime.Now;
			item.SubItems.Add(type);
			item.SubItems.Add(message);
			item.SubItems.Add(position);
			//ListView.Items.Insert(0, item);
		}
	}
}
